package com.share.dgs.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author caifan
 * @created 2021/3/5
 * description:
 */
@Data
@TableName(value = "t_address")
public class Address {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String street;

    private String city;

    private String country;

    @TableField(value = "customer_id")
    private Integer customerId;

}
